package com.snowcattle.game.common.template;

import java.lang.reflect.ParameterizedType;

public abstract class JdbcDaoSupport<T> {

    private Class<T> clazz;

    protected JdbcDaoSupport() {
        Class<?> classes = getClass();
        clazz = (Class<T>) ((ParameterizedType) classes.getGenericSuperclass()).getActualTypeArguments()[0];
        System.out.println(clazz.getSimpleName());
    }
}